﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace DAL
{
    public partial class CIMDataContext
    {
        // We don't want to use app.config to store connectionstring, we need to use web.config 
        public CIMDataContext()
            : base(ConfigurationManager.ConnectionStrings["CIM"].ConnectionString, mappingSource)
        {
            OnCreated();
        }
    }
}
